package c2.group.business.teampvp;

import cate.game.util.GameKit;
import easy.java.dev.note.NoteField;

import java.util.ArrayList;
import java.util.List;

public class TeamPvpTeam {
    @NoteField("队伍uid")
    public String uid;

    @NoteField("队员的uid")
    public List<String> memberUids;

    @NoteField("队长的uid")
    public String leaderUid;
    
    public TeamPvpTeam () {

    }

    public TeamPvpTeam(String leaderUid) {
        this.uid = GameKit.uid();
        this.leaderUid = leaderUid;
        this.memberUids = new ArrayList<>();
        this.memberUids.add(leaderUid);
    }

    public void addMember(String inviteUid) {
        this.memberUids.add(inviteUid);
    }
}
